package com.example.myspringpro.service;

import com.example.myspringpro.entity.User;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @Description
 * @Author allenhu <huxiangneng@163.com>
 * @Date 2019/04/30
 * @Version V1.0.0
 **/
public interface UserService {

    User selectUserByName(String name);

    List<User> selectAllUser();

    int insertUser(User user);

    void deleteService(int id);
}
